import { createApp } from 'vue'
import App from './App'
import '@/style'
import { setupRouter } from './router'
import { registerComponent } from './components'
import { setupStore } from './store'

const app = createApp(App)

// 注册全局组件
registerComponent(app)
// 设置store
setupStore(app)
// 设置路由
setupRouter(app)

app.mount('#app')
